package com.aiti.lulian.vo;

import com.aiti.base.core.base.vo.BaseVo;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

/**
 * @ClassName LuLianOfferVo
 * @Description LuLianOfferVo对象
 * @Author WongMZ
 * @Date 2024/7/3 17:08
 */
@Data
@ApiModel(value = "LuLianOfferVo对象", description = "LuLianOfferVo对象")
public class LuLianOfferVo extends BaseVo {
    @ApiModelProperty("主键")
    private String baseId;

    @ApiModelProperty("供需商ID")
    private String sourcingId;

    @ApiModelProperty("询价单ID")
    private String sourcingOrderId;

    @ApiModelProperty("询价单标题")
    private String sourcingOrderName;

    @ApiModelProperty("询价单报名截止日期类型:1、长期有效，2、自定义时间")
    private String sourcingOrderDeadlineType;

    @ApiModelProperty("询价单报名截止日期")
    private Date sourcingOrderDeadline;

    @ApiModelProperty("报价用户ID")
    private String offerUserId;

    @ApiModelProperty("生产周期")
    private String productionCycle;

    @ApiModelProperty("交货期")
    private String deliveryCycle;

    @ApiModelProperty("联系人")
    private String linkMan;

    @ApiModelProperty("联系人方式")
    private String linkPhone;

    @ApiModelProperty("物料附件")
    private String file;

    @ApiModelProperty("运费")
    private BigDecimal freight;

    @ApiModelProperty("总计")
    private BigDecimal totalMoney;

    @ApiModelProperty("创建日期")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date baseCreateTime;

    @ApiModelProperty("修改日期")
    private Date baseUpdateTime;

    @ApiModelProperty("创建者")
    private String creator;

    @ApiModelProperty("修改者")
    private String updateBy;

    @ApiModelProperty("报价状态，0：已报价，1：已撤回，2：被退回")
    private String offerStatus;

    @ApiModelProperty("中标状态，0：未中标，1：已中标")
    private String isWin;
}
